<?php

namespace App\Kuafu\Robot\Command;

use App\Kuafu\Base\Command\Traits\KfGetTimeInterval;
use App\Kuafu\CouponExt\Enum\CouponExtEnum;
use App\Kuafu\Order\Enum\CodeEnum;
use App\Kuafu\Order\Model\OrderAbnormalityModel;
use App\Kuafu\Order\Model\OrderCouponSplitModel;
use App\Kuafu\Order\Model\OrderSplitModel;
use App\Kuafu\Order\Model\OrderStatisticalModel;
use App\Kuafu\Order\Service\OrderService;
use App\Kuafu\Robot\Service\RmsBotService;
use App\Kuafu\Shop\Service\ShopService;
use App\Library\FeiShu\SendFs;
use Illuminate\Console\Command;

class OrderRobot extends Command
{
    use KfGetTimeInterval;

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'order:order-robot';

    /**
     * The console command description.
     *
     * @var string
     */

    protected $description = '订单机器人';


    /**
     * Execute the console command
     *
     * @return int
     */
    public function handle()
    {
        $rmsBot = new RmsBotService();
        $rmsBot->daily();
    }

}
